var express = require('express');
var router = express.Router();
var jwtUtil = require('../public/utils/jwt')
var facController = require('../controller/facility')
    //拦截器
    /* GET users listing. */

router.post('/getFacList', facController.getFacList);
router.post('/bindFac', facController.bindFac);
router.post('/unBindFac', facController.unBindFac);
router.post('/insertFac', facController.insertFac);
router.post('/delFac', facController.delFac);
router.post('/editFac', facController.editFac);
router.post('/insertRepair', facController.insertRepair);
router.post('/editRepair', facController.editRepair);
router.post('/getRepairList', facController.getRepairList);
router.post('/delRepair', facController.delRepair);
router.post('/getFaultList', facController.getFaultList);
router.post('/delFault', facController.delFault);
router.get('/getFacCount', facController.getFacCount);
router.post('/setCitys', facController.setCitys);
router.post('/getPoint', facController.getPoint);
router.post('/getPointMessage', facController.getPointMessage);
router.post('/getMaintainList', facController.getMaintainList);
router.post('/delMaintain', facController.delMaintain);
router.post('/staticFacNumber', facController.staticFacNumber);









module.exports = router;